<template>
  <div id="app">
    <keep-alive>
      <router-view></router-view>
    </keep-alive>
    <main-tab-bar v-show="showTabBar"></main-tab-bar>
  </div>
</template>

<script>
import MainTabBar from 'components/content/mainTabBar/MainTabBar'


export default {
  name: 'App',
  computed: {
    showTabBar() {
      return !this.$route.path.includes('login')
    }
  },
  components: {
    MainTabBar
  }
}
</script>

<style lang="less">

@import url('./assets/css/base.css');
@import url('./assets/fonts/iconfont.css');

</style>
